package cloud.server1.service.impl;

import java.util.List;

import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import cloud.server1.api.HelloService2;
import cloud.server1.service.HelloService1;
@Service
public class HelloService1Impl implements HelloService1{

	@Autowired
	private HelloService2 helloService2;
	public String helloWord(){
		return helloService2.hello();
	}
	public String hello(){
		return "Called HelloService2.hello()";
	}
}
